# Django project settings loader
import os
import datetime

ROOT_PATH = os.path.dirname(os.path.abspath(__file__))
configs = {
    'C:\\django\\banjolin': 'local', #XP
    'c:\\django\\banjolin': 'local', #vista
    '/var/www/live/banjolin': 'live',
    '/var/www/test/banjolin': 'test',
}


# Import the configuration settings file - REPLACE projectname with your project
config_module = __import__('config.%s' % configs[ROOT_PATH], globals(), locals(), 'faber')

# Load the config settings properties into the local scope.
for setting in dir(config_module):
    if setting == setting.upper():
        locals()[setting] = getattr(config_module, setting)
        
